package com.xquant.pricing.calc.entity.simple;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * @Author: botao.yu  -_- -_-
 * @Date: 2021/11/15 13:44
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class MinimumYield {

    @JsonProperty
    private String YieldRate;
    @JsonProperty
    private String YieldPrice;
    @JsonProperty
    private String IfAnnual;
    @JsonProperty
    private String DayCounter;

    public String getYieldPrice() {
        return YieldPrice;
    }

    public void setYieldPrice(String yieldPrice) {
        if (yieldPrice != null) {
            this.YieldPrice = yieldPrice;
        }
    }

    public void setYieldRate(String YieldRate) {
        this.YieldRate = YieldRate;
    }
    public String getYieldRate() {
        return YieldRate;
    }

    public void setIfAnnual(String IfAnnual) {
        this.IfAnnual = IfAnnual;
    }
    public String getIfAnnual() {
        return IfAnnual;
    }

    public void setDayCounter(String DayCounter) {
        this.DayCounter = DayCounter;
    }
    public String getDayCounter() {
        return DayCounter;
    }

}
